package com.baidu.iit.pxp.model;

/**
 * User: huangweili
 * Date: 14-4-26
 * Time: 下午2:42
 */
public class Assignment extends BaseElement {

    protected String from;
    protected String to;

    public String getFrom() {
        return from;
    }
    public void setFrom(String from) {
        this.from = from;
    }
    public String getTo() {
        return to;
    }
    public void setTo(String to) {
        this.to = to;
    }

    public Assignment clone() {
        Assignment clone = new Assignment();
        clone.setValues(this);
        return clone;
    }

    public void setValues(Assignment otherAssignment) {
        setFrom(otherAssignment.getFrom());
        setTo(otherAssignment.getTo());
    }
}

